home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 6
/
006.d81
/
t.delta date
< prev
next >
Wrap
Text File
|
2022-08-26
|
1KB
|
62 lines
DELTA DATE
Sent in by: Russell Jensen
1652 Euclid Ave.
Camarillo, CA 93010
I call this program 'Delta Date'
and it will give you the difference
in days between any two dates in this
century.
The subroutine used was borrowed
from another program I submitted two
months ago called BIORYTHM. It uses an
interesting algorythm which automatic-
ally accounts for leap years and the
number of days in each month. Basicly
it calculates the number of days
from any date to a 'reference' date
near the beginning of the century and
then takes the difference of these
dates. It appears to be perfectly
accurate.
The program asks you for an 'early
date' and then a 'late date' both in
Month,Day,Year format. It then shows
the difference, in days, between the
two dates you entered. It then asks
if you want to do another. One thing
it is fun for is computing how many
days old a person is.
>Files used: DELTA DATE
--------------------------------------